Let A be the area of the wall.
Given that the amount of paint needed to cover a wall paint is proportinal to ts area, and the wall is rectangular with area

Since the wall has a rectangular shape, the area of the wall is evaluated as

From equation 1,

simplify by factorization,

Since the length has a longer dimension than the width, we have

Hence, the possible expressions for the length and width of the wall are
