A hotel rents a double-occupancy room for $30 more than a single-occupancy room. One night, the hotel took in $3115 after renting 15 double-occupancy rooms and 26 single-occupancy rooms. Write and solve a linear system to find the cost of renting a double-occupancy room and the cost of renting a single occupancy room.