ABCD is a rectangle. If diagonal AC = 2x+6 and diagonal BD= 10, what is the value x?
A. 1
B. 2
C. 3
D. 4