Can someone help me define the variables to this problem

Answer:
price of adult ticket=$8
price of child ticket=$14
Step-by-step explanation:
let number of adult tickets=x
child tickets=y
3x+1y=38
3x+2y=52
subtract first from second
y=52-38=14
from first
3x+14=38
3x=38-14=24
x=24/3=8