Question 1016446
Call their costs a and s.  Then we have
a = s + 3  and
8s + 6a = 102
Substituting in we get
8s + 6(s+3) = 102
8s + 6s + 18 = 102
14s + 18 = 102
14s = 84
s = $6
a = $9