This might be an easy problem for you, but I am having difficulties in understanding the formula.
As we can see, we have a pattern
$$2n + \text{odd number}$$
in
$$(2n + 1) + (2n + 3) + \cdots + (4n - 1),$$
except for the last term:
$$(4n - 1).$$
So it's difficult to use induction (at least for me).
If not for the last term, I would use the formula to sum all odd terms up to the $n$.
Plus, I could retrieve the sum of all $2n$ terms by multiplying by $n$.
With some other manipulations, I could probably prove this, but in this case, with that last term, I am not seeing what I can do, because of my lack of imagination.
You wanted it by induction so here it is: For $n\geq 1$, let $S(n)$ denote the statement $$ S(n) : (2n+1)+(2n+3)+\cdots+(4n-1)=3n^2. $$ It may be easier to see what is going on if we rewrite $S(n)$ as $$ S(n) : (2n+1)+(2n+3)+\cdots+(2n+2n-3)+(2n+2n-1)=3n^2. $$
Base step ($n=1$): The statement $S(1)$ says $2\cdot 1+1=4\cdot 1-3$, and this is true.
Induction step: Fix some $k\geq 1$, and assume that $$ S(k) : (2k+1)+(2k+3)+\cdots+(2k+2k-3)+(2k+2k-1)=3k^2 $$ is true. To be shown is that $$ S(k+1) : \underbrace{(2(k+1)+1)+(2(k+1)+3)+\cdots+(2(k+1)+2(k+1)-1)}_{\text{LHS}}=\underbrace{3(k+1)^2}_{\text{RHS}}. $$ Beginning with the left-hand side of $S(k+1)$, \begin{align} \text{LHS} &= (2(k+1)+1)+\cdots+(2(k+1)+2(k+1)-3)+(2(k+1)+2(k+1)-1)\\[0.5em] &= (2k+1)+2+\cdots+(2k+2k-1)+2+(2k+2k+1)+2\\[0.5em] &= (2k+1)+(2k+3)+\cdots+(2k+2k-1)+2k+(4k+3)\\[0.5em] &= 3k^2+6k+3\qquad\text{(by inductive hypothesis)}\\[0.5em] &= 3(k^2+2k+1)\\[0.5em] &= 3(k+1)^2\\[0.5em] &= \text{RHS}, \end{align} we see that the right-hand side of $S(k+1)$ follows, completing the inductive step.
By mathematical induction, for all $n\geq 1, S(n)$ is true. $\blacksquare$