Let the vertices of the triangle ABC be A(x1,y1), B(x2,y2), and C(x3,y3).
Let the given midpoints be of sides BC, CA, and AB respectively:
Midpoint of BC=(25,7)⇒x2+x3=5 and y2+y3=14
Midpoint of CA=(25,3)⇒x3+x1=5 and y3+y1=6
Midpoint of AB=(4,5)⇒x1+x2=8 and y1+y2=10
Adding the three equations for the x-coordinates:
2(x1+x2+x3)=5+5+8=18
x1+x2+x3=9
Substituting the known sums:
x1=9−5=4
x2=9−5=4
x3=9−8=1
Similarly, for y-coordinates:
2(y1+y2+y3)=14+6+10=30
y1+y2+y3=15
y1=15−14=1
y2=15−6=9
y3=15−10=5
So, the vertices are A(4,1), B(4,9), and C(1,5).
Lengths of the sides:
a=BC=(4−1)2+(9−5)2=9+16=5
b=CA=(4−1)2+(1−5)2=9+16=5
c=AB=(4−4)2+(9−1)2=0+64=8
Coordinates of the incentre (h,k):
I(x,y)=(a+b+cax1+bx2+cx3,a+b+cay1+by2+cy3)
h=5+5+85(4)+5(4)+8(1)=1820+20+8=1848=38
k=5+5+85(1)+5(9)+8(5)=185+45+40=1890=5
So, the incentre is (h,k)=(38,5).
Therefore:
3h+k=3⋅38+5=8+5=13
Hence, the correct option is (3) 13.