BC is 5 million.
Let AD be xm and AC be (15-x) m.
5? +( 10+x)? =( 15-x)?
25+ 100+20x+x? =225-30x+x?
50x= 100
x=2
∴AB=AD+DB
=2+ 10
= 12m