A Washington man who committed sex offences in Scarborough and South Shields has been sentenced to two five-year court orders.