Carpenters often encounter the following situation: a rectangular board with two opposite sides intact, but the other two sides are uneven. To make them even, they need to use a saw, but they don't have a ruler at hand. What should they do? The solution is quite simple, just by applying some very basic knowledge that the ancients already knew. They can use a ruler with markings to measure two points E and F 30 cm apart on the AB side, then draw arcs with E and F as the centers and 50 cm and 40 cm as the radii. The two arcs intersect at point G. Connecting FG will ensure that ∠EFG is 90°. Saw along FG to trim the BC side. Using the same method, they can trim the AD side as well. The principle behind this method is clear: EF:FG:EG=3:4:5, which complies with the Pythagorean theorem, so the hypotenuse EG must form a right angle with ∠EFG.
If the conditions are even worse, without a ruler with markings, there's still a solution. They can take a straight wooden rod and mark points M and N on it with a pencil. Then, tilt the rod against the board so that point M touches the edge of the board, and mark two points P and Q on the board according to the positions of M and N. Next, change the direction of the rod so that point N remains fixed, and move point M against the edge of the board, marking point R at its new position. Extend RQ and cut a segment QS=MN on the extended line. Connect PS, and ∠RPS will be 90°. This method can be used to create a right angle and trim the uneven sides of the board. According to the above method, RQ=PQ=QS, so △RPQ and △SPQ are both isosceles triangles, and therefore ∠RPS=∠RPQ+∠QPS=∠PRQ+∠QSP. Since ∠RPS, ∠PRS, and ∠RSP are the three interior angles of △RPS, their sum equals 180°, so ∠RPS=90°. It's not hard to see that the background of this method is a theorem in plane geometry: "The length of the median on the hypotenuse of a right triangle is half the length of the hypotenuse", but it's just a creative and flexible application of this theorem.

