Mr. Gosling drove his family to the local theme park for the day. The cost for admission is $45 per ticket and $25 for parking. Which equation can be used to find p, the number people in Mr. Gosling's family, if he spent a total of $295?

a. 45p+25=295
b. 45p-25=295
c. 45 + 25p = 295
d. 45-25p=295

a. 45p+25=295