CD is parallel to AB if it has the same slope. So compute the slope of CD using the slope formula (which you learned in Algebra I) below.
slope = (y2-y1) / (x2-x1)
Where (x1,y1) are the coordinates of point C and (x2,y2) are the coordinates of point D.