I came across one elliptic equation of the form $y^2 = x^3 + p^2$ being $p$ prime, and taking $p \neq 3$, I want to have more understanding why there is no rational point $x$, for $y = 3p$ or $y = 3p^2$, such that:
$$y^2 = x^3 + p^2$$
I want to know in terms of equivalence classes approach also if possible.