let the number of adult tickets be x and the number of children tickets be y
3x + y = 164...equ(1)
2x + 3y = 174....equ(2)
multiplying equation 1 by 3
9x + 3y = 492
subtracting equation 2 from 1
7x = 318
x = 45.43 dollars
substituting the value of x into the equation
3(45.428) + y = 164
y = 164 - 3(45.428)
∴y = 27.71 dollars