Explanation:
Given data
let adults be x
and student be y
so
6x+15y= 48-----------1
and
8x+7=38-----------2
solve eqn 1 and 2
6x+15y= 48-----------1X 8
8x+7=38-----------2X 6
48x
+15y= 40
48x+7y= 38
subtract
8y=2
y= 2/8
y= 1/4
y= $0.25
from 8x+7=38
put y= 0.25
8x+7(0.25)=38
8x+1.75= 38
8x=38-1.75
8x=36.25
x=36.25/8
x=$4.5