Parallel and Perpendicular Extension problem

Author:
Kim Scott
Let A = (-3,-4) and B = (1,2). If C = (5,y) and D = (x,-3), find the locations of C and D so that a) Line AB is parallel to line CD and b) Line AB is perpendicular to line CD.