What is the science equation from a straight line graph?

ax + by + cz + ... = k

where x, y, z, etc are variables

and a, b, c etc and k are constants.

In the simple case of 2 variables, this becomes

ax + by = k which can be rewritten as y = mx + c (different c from the first equation above).