Given that each cube represents 1 cubic units, we need to count how many cubes are in the figure.
From the front view, we count 2 cubes.
From the back view, we count 5 cubes.
There are 5 + 2 = 7 cubes in total, so the volume of the figure is 7 cubic units.