The cost of a hall rental for a wedding is $500. Each meal at the wedding will cost an additional $45.50
a) Write an algebraic expression equation for the total cost of the wedding.
b) Calculate how many people attended the wedding if the wedding cost totalled $3912.50.