Pregunta de entrevista de AnTech (UK)

How to calculate the area of a given shape.