Let's begin with recalling that in a parallelogram diagonals bisect each other. Therefore, the distance between the point of intersection and vertex D is also 3x.
From the picture we can see that BD=6x. Since we know that AC is 40 and BD=35AC, we can write an equation to solve for x.