solve if x=student price and y =adult price and 2y + 5x=77 and 2y + 7x=95 what are the price for admission for both adult and child

subtract them:

2x = 18
x=9
sub into the first:
2y + 45 = 77
2y = 32
y = 16