Precalculus Examples

Solve the Function Operation x+y=3 , 500x-y=2 , 342
I am unable to solve this problem.