Question 1203163
The straight line y=mx+c passes through the points (0, k) and (h,2k)

Express m and c in terms of h and k

What I have tried

    A.         B.
.........................
    (0,k)     (h, 2k)
    (X1,Y1).   (X2, Y2)
M= (Y2-Y1)/(X2-X1)
M= k/h
Y-Y1=m(X-X1)
====
Y=kx/h +K
C=K
===============================
Slope m = (2k-k)/(h-0) = k/h
---------------
(0,k) is the y-intercept, so c = k