1. In a supermarket,the price of an apple is $2.5, and an orange is $3. Alan got $2 left after buying some apples. However, he would need $2 more if he wanted to buy the same number of oranges.Find the number of apples he bought.
2. A girl's age is 2 years more than 1/2 of her mother's age. If the sum of their ages is 62, find their ages.