When a family with two adults and three children bought tickets for an amusement park they paid total of 56.50. The next family in line, with four children and one adult, paid 49.50. Find the adult and child ticket prices by writing and solving a system of equations.