I am totally clueless on this. I have tried Pythagoras theorem and tried taking a lot of ratios but don't seem to get anywhere:

The length of the sides of the acute angled triangle ABC are x-1, x and x+1. BD is perpendicular to AC. Then CD-DA equals

(a) x/8

(b) x/9

(c) 2

(d) 4

?