Answer:
[tex]x+7; x+5; 27; 25[/tex]
Step-by-step explanation:
First of all, we need to write [tex]x^2+12x+35[/tex] as a product. The easiest way is to find a pair of numbers whose product is 35 and sum is 12. Looking at the product, you notice it's 7 and 5, which added together indeed give 12.
The two side length are thus [tex]x+7[/tex] and [tex]x+5[/tex].
In the specific case, when [tex]x=20[/tex] the two sides measures 27 and 25.