please, I need to know how this question is done. please

subsitute x = 6 into the lengths
3(6) -7
18 - 7
11cm
(6) + 5
11cm
therefore it is a square when x = 6 because the sides are all equal