Let the length of the room be x metres and the breadth of the room be y metres.
Then, we have:
Area of the room = xy
According to the question, we have:
x = y + 3
⇒ x − y = 3 ....(i)
And, (x + 3) (y − 2) = xy
⇒ xy − 2x + 3y − 6 = xy
⇒ 3y − 2x = 6 ....(ii)
On multiplying (i) by 2, we get:
2x − 2y = 6 ....(iii)
On adding (ii) and (iii), we get:
y = (6 + 6) = 12
On substituting y = 12 in (i), we get:
x − 12 = 3
⇒ x = (3 + 12) =15
Hence, the length of the room is 15 metres and its breadth is 12 metres.