Answer: x=4, sides = 12, 8, 6, 8
Step-by-step explain
Perimeter means the sum of all sides of a shape, in this example there are four sides add the sides and set it equal to 34.
X+8+x+4+2x-2+x²-2x=34
x²+2x+10=34
x²+2x-24
(x-4)(x+6)
x=4, x=-6
x can not be -6 because then the x+4 side would be -2, therefore it is extraneous and x=4 is the correct answer.
Now to find side lengths just plug in 4 for x
4+8=12
4+4=8
2*4-2=6
4*4-2*4=8