First, note that tan(π4)=1. Imagine this on the unit circle. Since we need to find x when its tangent is negative 1, we have to get to the 2nd and 4th quadrant while retaining the tangent's absolute slope. To do that, we add 90o or π2 and 270o or 3π2 to the angle π4. When we do that, we get the angles 3π4 and 7π4.
Q.E.D.