Along these lines:
The dot’s coordinates are (px, py)
The origin point is at the horizontal center of the base.
a = length of side of triangle
which makes the height of the triangle:
h = a*sin(60)
Distance from left side:
d1 = abs(h*px – py + h)/sqrt(h*h+1)
Distance from right side:
d2 = abs(-h*px – py + h)/sqrt(h*h+1)
Distance from base:
d3 = py
The three percentages would then be:
A = d1/(d1+d2+d3)*100
B = d2/(d1+d2+d3)*100
C = d3/(d1+d2+d3)*100
All theoretical. If there’s an error somewhere, it’s gonna be fun to try and find it.