Anyone knows how to do this

Answer:
length = x - 2
Step-by-step explanation:
The area (A) of a rectangle is calculated as
A = length × width
Here A = x² - 7x + 10 and width = x - 5
x² - 7x + 10 = length × (x - 5) ← divide both sides by (x - 5)
length = [tex]\frac{x^2-7x+10}{x-5}[/tex] ← factor the numerator
= [tex]\frac{(x-5)(x-2)}{x-5}[/tex] ← cancel common factor (x - 5) on numerator/ denominator
= x - 2
Thus length = x - 2 metres