Show that -3 is a multiplicative inverse of 17 modulo 26

Started with 17 * -3 = -51
but doesn't seem right? help

-51 = 1 (mod 26)

because
-51 + 2*26 = 1