A company has departments L, M and O. Department L Occupies a space twice that…