There is a hidden cache of previous assignments that some users don't know about.
Had you previously assigned any values or functions to any of those names?
Try restarting Mathematica fresh, make certain you don't have any prior assignments
and then do only
Solve[Eliminate[{y==a x,x==u-y},x],y]
and see what you get