The length of a side of a square is given by the expression 2 +1, and its perimeter is 56.

Write and solve an equation to determine the value of x.
Calculate the length of a side of the square.