The cost of a private room at a restaurant is $400. There is also a charge for each person who attends. The total cost for a party is $775. What is an algebraic equation to represent the situation?