This is a 2D Measurement problem that incorporates real-life application when finding flag material cost.