There is a couple of formulas helpful in solving the second problem:http://www.cut-the-knot.org/triangle/MetricRelationsInTriangle.shtml#p4R
http://www.cut-the-knot.org/triangle/MetricRelationsInTriangle.shtml#p4R