Solving for x (thickness of the frame)