A rational function y= a/(x-7) +k passes through the points (10,1) and (2,9) find values of a and k.
How do i do this, i know how to find one of any value, a,h,k but not two
Where did h come from? Your function is $\displaystyle \displaystyle \begin{align*} y = \frac{a}{x - 7} + k \end{align*}$, so there are only two parameters, a and k.
By substituting each of the two points into the equation, you will get two equations with a and k as unknowns. Solve them simultaneously.