Answer:
![x+7; x+5; 27; 25](https://img.qammunity.org/2023/formulas/mathematics/high-school/5vq3t8vg2wi1s4ulk8o83t7oepvvyennxm.png)
Explanation:
First of all, we need to write
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
and
.
In the specific case, when
the two sides measures 27 and 25.