A shape with straight sides is drawn to scale, anything from a triangle to a 20-sided shape, and the student types one number. Some questions ask what all its inside angles add up to. For a regular polygon, with equal sides and equal corners, others ask for each inside angle, or each outside angle where one side is extended past a corner as a dashed line, or show just one corner with its angle and ask how many sides the shape has. The rest show an irregular shape with its corners lettered and all but one or two angles marked, and ask for the missing angle x. Sometimes it is just a shape; sometimes it is a tile, a table, a bandstand floor, a window, a paddling pool, a field, a pond or a patio.
The method is the same every time: from one corner, draw a line to every corner that is not next to it. That splits an n-sided shape into n − 2 triangles, so its inside angles add to (n − 2) × 180°. The classic slip is n × 180°, one triangle for every side. In a regular shape the total is shared equally between the corners; an inside and an outside angle make a straight line, 180°; and once round the shape the outside angles make a full turn, 360°, which is the quick way to count the sides. When two angles are marked x they are equal, so the last step halves what is left. The working shades the triangles on the picture, lights up the angles as they are added, and puts the answer in place of the ? or x, or in the middle for a total.

Numbers&Me is free. Sign up to practise more, or set it as homework in under a minute, and it marks itself.