Taking an approach different from what Arthur suggests, I'll try to show slightly easier and generalized methods.
- $\mathbb Z_4[x]/\langle x^3\rangle$
First, lets go on with your approach. You already got to $(ax^2+bx+c)(dx^2+ex+f)=1$ implies $cf=1$, so $c$ has to be an invertible element of $\mathbb Z_4$, so $c=1$ or $c=3$, and $f=c^{-1}$.
Now, from $bf+ce=0$ we get $bc^{-1}+ce=0 \Rightarrow bc^{-2}+e=0 \Rightarrow e=-bc^{-2}$.
Finally, from $af+be+cd=0$ we get $ac^{-1}-b^2c^{-2}+cd=0\Rightarrow d=-ac^{-2}+b^2c^{-3}$.
So, given that $c$ is invertible, we have the formulas for $d,e,f$ in terms of $a,b,c$. Thus, $c$ being invertible is the necessary and sufficient condition for $ax^2+bx+c$ to be invertible.
You can see we never actually used any information about the ring of scalars $\mathbb Z_4$. This is no coincidence; $p \in R[x]/\langle x^n \rangle$ is invertible iff its constant term is invertible.
To give a different proof of this, observe that we already know that an invertible constant term is a necessary condition. Thus, $p = c + x\cdot q$ with $c$ invertible. Since $x^n=0$ in $R[x]/\langle x^n \rangle$, clearly $(xq)^n = x^nq^n=0$, so $xq$ is nilpotent. Now, in any commutative ring a unit plus a nilpotent is still a unit. Hence, if $c$ is invertible, $p$ is invertible.
- $\mathbb Z_7/\langle x^2-x\rangle$
This case is a bit easier, since $x^2-x = x(x-1)$, and $x$ and $x-1$ are coprime. By Chinese remainder theorem, we get
$$\mathbb Z_7/\langle x^2-x\rangle \cong \mathbb Z_7/\langle x\rangle \times \mathbb Z_7/\langle x-1\rangle \cong \mathbb Z_7 \times \mathbb Z_7$$
via the isomorphism
$$p(x) + \langle x^2+x \rangle \mapsto (p(0), p(1))$$
An element $(a,b) \in \mathbb Z_7 \times \mathbb Z_7$ is invertible iff $a \neq 0$ and $b \neq 0$, which translates to $p \in \mathbb Z_7/\langle x^2-x\rangle$ being invertible iff $p(0) \neq 0$ and $p(1) \neq 0$.
Let $p(x) = ax+b$. $p(0) \neq 0$ means $b \neq 0$, while $p(1) \neq 0$ means $a \neq -b$. These are the conditions for $p$ to be invertible.