at a pet shop there were 10 more dogs than cats, the shop sold 2 dogs and bought 2 cats, now there are twice as many dogs than cats, how many cats does the shop have now?