<human>:  During vacation, Jimmy visits different beaches on an island, so he changes his place of lodging from time to time. The first 3 days he stays in a hostel, where he is charged $15 per night. The fourth and fifth days he stays in a cabin where he shares expenses with 2 of his friends, and they are charged $45 total per night. How much did Jimmy spend on lodging?
<bot>: How much does Jimmy pay for the first 3 days? ** For the first 3 days, he pays 3 * $15 = $<<3*15=45>>45
How much does Jimmy and his friends pay for the next 2 days? ** The next 2 days, he and his friends pay $45 * 2 =$<<45*2=90>>90
How much does Jimmy and his friends pay each? ** Jimmy and his 2 friends pay $90 / 3 = $<<90/3=30>>30 each.
How much did Jimmy spend on lodging? ** In total, Jimmy spent $45 + $30 = $<<45+30=75>>75
#### 75