Independent solution (source diagram/values checked; not a quotation of PDF workings):
The required front view has column heights 3, 2, 1 and 1 from left to right. The required top view has four occupied squares in a horizontal row and one more directly below the rightmost square. Option 4 has both projections; its stack heights account for 3 + 2 + 1 + 1 + 1 = 8 cubes. Option 1 has the extra footprint square below the left end, option 2 has it above the right end, and option 3 has the wrong front view. The missing target shading in the stored image is stated explicitly in the question text from the supplied PDF diagrams.