Answer:
x = 4
Explanation:
The opposite sides of a rectangle are congruent.
The perimeter is the sum of the 4 sides, thus
2(5x) + 2(x - 3) = 42 ← distribute parenthesis and simplify left side
10x + 2x - 6 = 42
12x - 6 = 42 ( add 6 to both sides )
12x = 48 ( divide both sides by 12 )
x = 4