Here's an image of four models. Some of the cubes are hidden behind other cubes. Model one consists of one cube. Model two consists of four cubes, and so on...

Write a function that takes a number n and returns the number of stacked boxes in a model n levels high, visible and invisible.
StackBoxes(1) ➞ 1
StackBoxes(2) ➞ 4
StackBoxes(0) ➞ 0Step n is a positive integer.