If $A$ and $B$ be two square matrices containing real elements and satisfying the following conditions
$$AB-B^2A^2=I$$
$$A^3+B^3=O$$
then prove that
$$BA-A^2B^2=I$$
My Attempt: If we are able to prove that if either of $A$ or $B$ is invertible then we are done.