Assuming ticket price is different for adults and kids, let x=ticket price per adult and y=ticket price per kid
So we have:
2x+3y=47 (equation for Jones)
3x+5y=74.75 (equation for Smith)
We need to solve this equation and find x and y:
multiple the first equation by 3 and the second by negative 2 and add them up.
6x+9y=141
-6x-10y=-149.5
=> -y=-8.5 => y=8.5 $
plug this into one of the two original equations and solve for x:
2x + 3(8.5) = 47
So 2x= 21.5 => x=10.75 $
So for the Ramirez it would cost: 4x+4y = 4(x+y) = 4(10.75+8.5) = $77