Cost
60+20+10+50+25=165
Tax
165*.06=9.90
Cost+Tax
165+9.90=174.90
Answer: 
a = 2 and b = 3
==================================================
Explanation:
Let's expand out
to get the following:

The x term here is 2ax
Compare this to the x term of
and we see that

--------------
The constant term of
is the
portion since it doesn't have the variable x attached to it.
Compare this with the 7 of
which is also the constant.
Equate the two items, plug in a = 2 and solve for b.

Therefore,

A= adult /s=student
170/150= factor out the 10 out of each .you are left with 17 adult and 15 children .17/15