def shape_area(n):
    return 2 * n * (n - 1) + 1

print(shape_area(n=1))
print(shape_area(n=2))
print(shape_area(n=3))
print(shape_area(n=4))
print(shape_area(n=5))
print(shape_area(n=100))
print(shape_area(n=9999))
