A point P is inside an equilateral triangle. If the distances of P from the sides are 8,10,12 units, the lengths of a side of the triangle is?