Hi, can anyone find what x and y are in the following two equations?

(312x + y)mod676=361

(461x + y)mod676=626

The fact that mod is in there has threw me!

Thanks

P.S I think this is in the right forum? Its kind of number theory, but still just a simultaneous equation at the end of the day!