equation x+3y-10=0 is a straight line which is perpendicular to the line segment joining the points A(0,0) and B(3,9), divides it at C in the ratio of K : 1. Find the coordinates of point C?

C is at the point K/(K+1) of the distance from A to B, so it is at

(K/(K+1)*3 , K/(K+1)*9)
for example,
if K=2, C is at (2,6)
If K = 1/2, C is at (1,3)