3. The triangle and rectangle pictured below
have the same perimeter. Write and solve
an equation to find the value of x.
