math
posted by doremi on .
A fruit seller bought m pears and twice as many mangoes. He also bought 10 fewer peaches than pears. Each pear cost RM 0.40 cents, each mango cost RM 0.50 cents while each peach cost RM 0.80. If the fruit seller paid RM 102. Find the value of m.

pears: m
mangoes: 2m
peaches: m10
.4m + .5(2m) + .8(m10) = 102
m = 50