I got about this far:
$$m^5 + 7m \equiv -8 \equiv 1 \pmod 3$$
I'd have a much easier time solving a linear equation, but I have no clue about this one.
$$m(m^4 + 7) \equiv 1 \pmod 3$$
m itself is not divisible by three, but we already knew that... Any thoughts?