It costs $50 per hour to rent a jet ski. The total cost of a jet ski rental includes a flat fee plus an hourly fee. After 5 hours, the total cost is $265. Write an equation that represents the total cost y after x hours.