The ratio of the number of dools jacky had to the number of dolls oeter had was 5:2 but aftetr jacky gave 15 dolls to peter they have an equal number of dolls. how many did they have in all?