help needed on this question! with show work

Answer: 5 cm
Step-by-step explanation:
We know that 3x + 2x makes up one side of the square. Recall that the formula for a square's perimeter is P = 4a. Thus:
(3x + 2x) * 4 = 100
5x * 4 = 100
20x = 100 (divide by 20)
x = 5 (cm)