An exterminator charges $80 to visit a home and $35 to spray each room. If the total

bill was $395, how many rooms were sprayed? Write an algebraic equation that

represents this situation. Then solve it.