Next weekend Marnie wants to attend either carnival A or carnival B. Carnival A charges $6 for admission and an additional $1.50
per ride. Carnival B charges $2.50 for admission and an additional $2 per ride. a) In function notation, write A(x) to represent the total cost of attending carnival A and going on x rides. A)In function notation, write B(x) to represent the total cost of attending carnival B and going on x rides. b) Determine the number of rides Marnie can go on such that the total cost of attending each carnival is the same.