We know that the line goes through the points (2,k), (k,32) and the origin (0,0)
To obtain the equation of a line we only need 2 points, we can use (2,k) and (0,0) to do that:
Then, we can use the third point to obtain the value of k.
Therefore, the answer to the question is k=8, option c