You've already gotten an answer, but I wanted to discuss the structure of $G$ a bit more. The first relation allows you to write $b=aca^{-1}$, so you can remove the generator $b$ by simply replacing each occurrence with the above word, to get the presentation
\begin{equation}
G\cong\langle a,c\mid [a^2,c]=1, [a,c^{-1}]=c^{-1}a\rangle
\end{equation}
This shows $a^2\in Z(G)$. From the general fact $[a^2,c^{-1}]=[a,c^{-1}]^a[a,c^{-1}]$, in our group this shows (using the above relations) that $a^2=c^{2}$. So
\begin{equation}
G/\langle a^2\rangle\cong \langle a,c\mid a^2=c^2=1, [a,c^{-1}]=c^{-1}a\rangle
\end{equation}
Because $a\equiv a^{-1}$ and $c\equiv c^{-1}$ in this quotient, that last relation is equivalent to $(ac)^3=1$. So $G/\langle a^2\rangle$ is isomorphic to the dihedral group of order $6$, otherwise known as $S_3$. Because $Z(S_3)=\{1\}$, we also know $Z(G)=\langle a^2\rangle$.
We can even give a full description of the structure of $G$. Because $G/G'\cong\mathbb{Z}$ (a free group), we actually have $G\cong G'\rtimes\mathbb{Z}$. Since $[G:Z(G)]$ is finite, we also know $G'$ is finite. Because $G$ is non-Abelian and $G'$ maps to $A_3\le S_3\cong G/Z(G)$, it must be that $G'\cong \mathbb{Z}/3\mathbb{Z}$, so that
\begin{equation}
G\cong (\mathbb{Z}/3\mathbb{Z})\rtimes \mathbb{Z}
\end{equation}
with the generator of $\mathbb{Z}$ acting via inversion.
This semidirect product structure can also be seen from the presentation. Let $d=c^{-1}a$. Then the relation $[a,c^{-1}]=c^{-1}a$ can be rewritten as $d^2=ada^{-1}$. The relation $[a^2,c]=1$ can similarly be rewritten as $[a^2,d]=1$. So $G$ has presentation
\begin{equation}
G\cong\langle a,d\mid [a^2,d]=1, ada^{-1}=d^2\rangle
\end{equation}
From these relations we derive
\begin{equation}
d^4 = ad^2a^{-1} = a^2da^{-2} = d
\end{equation}
so that $d^3=1$. Our new presentation $\langle a,d\mid d^3=1, ada^{-1}=d^{-1}\rangle$ is exactly our semidirect product.