The expansion of a perfect square is

In words, the square of a sum of two terms is the sum of the squares of the two terms (
and
), plus twice the product of the two terms (
)
So, when determining if you have a perfect square trinomial, you should have two perfect squares. Note that they don't have to be the first and third term, since you can rearrange terms as you prefer.
Sub y = 0 in to find x intercept and x = 0 in to find y intercept
Width of rectangle = x
Length =3x+7
Perimeter of rectangle = 158cm
2(l+w)=158
2(3x+7+x)=158
2(4x+7)=158
8x+14=158
8x=158-14
x=144/8
x=18
Therefore the width of the rectangle is 18cm
Length=3x+18+7
54+7=61cm
Area=lxw
=61x18
=1098^2