# Solve the two equations# b[0]=(m[0]-a*x)/k# b[1]=(m[1]-a*x)/k# for the common a, while eliminating the unknown k.# One quick possibility to do this is by dividing the left resp. right sides by each other.
# The result of the algebraic manipulations is the following formula:a=(b[0]*m[1]-m[0]*b[1])/(b[0]*x-b[1]*x)printa