side ab and ac and median ad of a triangle abc