Can someone help me do this question :(

Step-by-step explanation:
Have a look at the attachment first to avoid any confusion.
Total number of cubes therefore, is 17.
1 from top
4 + 4 = 8 at second back row
4 again in lower front row
2 + 2 = 4 in the front.
So, 17 is the unit cubes in the figure.
Hope it helps :)