Answer:
width1*length1+width2*length2 = totalArea
Explanation:
To calculate the area of a rectangle you should multiply it's base by it's high.
In this case width times length for a given room
width1 * lenght1 = area of room1
width2 * lenght2 = area of room2
totalArea = area of room1+area of room2
This asumes that there is no overlaping between the rooms and that the rooms are rectangular