35% of the fruits a fruit vendor ordered were apricots and the rest were peaches. Each apricot cost $1.20. Each peach cost 150% more than each apricot. The vendor paid a total of $636.

(a) Find the total cost of the apricots.
(b) How many peaches did he order?

apricot = $1.20

peach = 1.20 + 1.50* 1.20 = 1.20 + 1.80 = $3.00
ordered n fruits
.35 n = number of apricots
.65 n = number of peaches
.35 n * 1.20 + .65 n * 3.00 = 636
0.42 n + 1.95 n = 636
n = 268.35 fruits
.35 n = 93.9 = number of apricots
93.9 * 1.20 = $112.71 for apricots
.65 n = .65 * 268 = 174 peaches