As the equation represents a linear equation, the parent function must be
y=x. So, the intercept is the same for both y=1/2x and y=x, since the intercept is zero. And the slope of the parent function is 1 and the slope of the other function y=1/2x is 1/2, they are different.