logic – Proving mathematical induction for equality

I need to prove the following by induction:
$$3+3^2+3^3+…+3^n=frac{3(3^n-1)}{2}$$

I tried proving if this is true using my notes
image of my work

Is this even remotely correct? I’m struggling to understand how induction works. Personally I feel like this is incomplete..