Sophie pays m dollars to rent a car for the weekend. On the drive home, she buys $25 worth of gasoline. Her friend Melody pays for one-half the cost of the car rental only. Write an expression you could use to determine how much Sophie spent.