Will make brainliest if answer correctly

Answer:
B
Step-by-step explanation:
If we represent the rectangles by x, then we can write the equation as
5x + 2 = 3x + 8 ( subtract 3x from both sides )
2x + 2 = 8 ( subtract 2 from both sides )
2x = 6 ( divide both sides by 2 )
x = 3 ← solution to Sam's equation
Thus considering the equations given
A
x = 2 ← Not true
B
x = 3 ← True
C
2x = 3 ← Not true as 2x = 2 × 3 = 6
D
2x = 8 ← Not true as 2x = 6