The following text was written to the standard output stream when the YellowSpace.java program was executed from IntelliJ.
The area of the big gray square is 160000.0 mm^2 The area of the big yellow square is 39200.0 mm^2 The area of the small gray square is 9520.606076066002 mm^2 The area of the small yellow square is 2283.0952441687864 mm^2 The total area of the yellow sections of the image is is 31962.489168102784 mm^2