Sketch the locus of the point P in each of the following cases.
(a)P moves such that its shortest distance from a line segment of length 4cm is always 1cm.
(b)P moves outside a square of side 4cm such that it is at a constant distance of 1cm from the perimeter of the square.