The points A and B have coordinates (3,-1) and (6,3) respectively. The points C and D are each distant 4 units from A and 6 units from B, forming a kite. Show that the length of CD is 3 x root of 7 (i dont get how you people manage to type math symbols).

I figured that this is supposed to be dealed with using the cosine rule and not by trying to calculate the coordinates of C and D, which would take ages. I managed to get the right answer, which is 7.blablablabla, but not in the right form, that is in decimal form instead of surd form. I really can't figure out how to get a direct surd.