Slope of a line L is 1. The points on the line L at a distance of 2 units from the point 32,32 which lies on the line L are
42,42,22,22
42,42,−22,−22
−42,−42,22,22
42,−42,−22,22
The inclination of the line L is θ=tan−1(1)=π4
The coordinates of a point on the line L at a distance of r units from x1,y1 are
x=x1±rcosθ and y=y1±rsinθ, here θ is inclination of the line θ
Hence the required coordinates are
x=x1±rcosθ=32±212=32±2=42,22
and
y=y1±rsinθ=32±212=32±2=42,22
Therefore, the required points are (42,42)=(22,22)