Remainder and long division

I have been thinking about this. Lets say we take 7 divided by 3, we know the remainder is 1. However, if we let x=7 and x-4=3, and we take x/(x-4), after performing long division the remainder is 4. Why is it not 1?

I have been thinking about this. Lets say we take 7 divided by 3, we know the remainder is 1. However, if we let x=7 and x-4=3, and we take x/(x-4), after performing long division the remainder is 4. Why is it not 1?