The graph of which of the following lines contains the point (5,0) and makes an angle of 45 degrees with the positive x-axis?

Now the solution is y=x-5 but why couldn't the solution be y=(3x-15)/2 or y=2x+10?? I guess I'm stuck on the the 45 degree part..