https://numbas.mathcentre.ac.uk/question/37909/centroid-of-a-composite-area-rectangles-and-triangles/embed/