Maria has 24 apples and pears. Half of the number of pears is equal to a quarter of the number of apples. How many apples does Maria have?​

Answer :

Maria has 16 apples
0.5y=0.25x
2y=x
3y=24
Y=8