The other family pays her $3 every half hour and a bonus of $25 at the end of the night. Write an equation to represent this situation is x represents the number of hours.

y = 3x+25