Since they have a pair of verticle angles, this means the triangles are similar. You find a common side (the length 5 and length 20) and you know the ratio, (divide 20 by 5) aka. the larger triangle is 4 times larger than the smaller one. That means the side lengths are also 1/4 scale. So the bigger triangle = 12(length of side)*4(ratio). Also since y is on the smaller triangle, you scale it down by 1/4, so 52 (the side length) / 4 (ratio) is 13. So y = 13, x =48
MAny ways the child can thake 5 of the 2 ones she likes or 8 of one and 2 of the other or 4 of one and 6 of the other 7 of one 3 of the onther 9 of 1 and and 1 of the other. you can find the rest