No, the problem is correct as stated. You can think of $n\mathbb{RP}^2$ as a $2n$-gon with edges identified in pairs according to the scheme $a_1a_1a_2a_2\cdots a_na_n$ as you go around the $2n$-gon.
Something to think about: $\mathbb{RP}^2\#\mathbb{RP}^2$ is homeomorphic to a Klein bottle. Would your formula make sense for the Klein bottle?
Edit: In more detail, apply Van Kampen's theorem to the following two open sets: Let $U$ be an open neighborhood of the union of edges, and let $V$ be the open $2n$-gon. Then $U$ deformation retracts to the one point union of $n$ circles, so has fundamental group freely generated by $a_1,\ldots,a_n$. $\pi_1(V)=0$ since the disk is contractible. The intersection of $U$ and $V$ deformation retracts to a circle which reads off the boundary, so $\pi_1(U\cap V)$ is cyclic, generated by $a_1^2\cdots a_n^2$. Van Kampen's theorem then implies that $\pi_1(n\mathbb{RP}^2)\cong \pi_1(U)*_{\pi_1(U\cap V)}\pi_1(V)$, which is $F(a_1,\ldots,a_n)*_{\mathbb Z\langle a_1^2\cdots a_n^2\rangle} \{1\}\cong \langle a_1,\ldots,a_n\,|\,a_1^2\cdots a_n^2\rangle$.