if y = 5 when x = -3, find x when y = -12

I've spent the past few minutes figuring it out, but I can't figure out what to do because 5 doesn't go into 3.