The sum of the angle measures of the polygon is 540°. Write and solve an equation to find the value of x.

An equation is ____=540​
The solution is x=____