math urgent
posted by leeann on .
2 rainstorms occurred in one week in a certain area in the first storm, 15ml of rain fell per hour, and in the second storm, 20ml of rain fell per hour. rain lasted for a total of 40 hours, resulting in a total rain of 675ml. how long was each storm.
1st storm = hours
2nd storm=hours

Please don't switch names.
let length of first storm be x hrs.
then length of second storm is 40x hrs
solve 15x + 20(40x) = 675