Independently derived construction, agreeing with the supplied drawing.
Look at the solid along the Front View arrow. From left to right, the maximum cube heights are 2, 2, 1 and 1. A cube behind another at the same projected position does not create an extra visible square.
Draw four adjacent unit squares on a horizontal baseline. Add one square above the first and one above the second square from the left. In a local 2-by-4 grid counted from the top left, the top row contains columns 1 and 2 and the bottom row contains columns 1, 2, 3 and 4.
Check that the view is 4 units wide and 2 units high, containing 2 + 4 = 6 unit-square positions. The solid contains 7 cubes, with one hidden behind the projection.