Last week, Danielle spent x dollars on lunch, three times as much on transportation as she did on lunch, and $4 less on books than she did on transportation.
Write the expressions for the total amount Danielle spent last week on transportation and books.
If Danielle had $59 to spend last week, what is the greatest amount she could spend on lunch?