Consider parallelogram ABCD. If AC¯¯¯¯¯¯¯¯=2x+15 and BD¯¯¯¯¯¯¯¯=5x−12, what does the value of x need to be so that the parallelogram is a rectangle?
A: 1
B: -9
C: 9
D: 3/7