in square ABCD, AD=3x+7 and CD=6x+6

Find AD and CD

A)1/3
B)16
C)3
D)8

If it is a square, AD=CD

3x+7=6x+6
solve for x, then put that into the formula for AD