ABCD is a rectangle. Find the value of x and the length of each diagonal. AC = x and BD = 2x - 7.