If there are an infinite number of solutions to the system
$$\left|\begin{array}{cc|c} -5 & 6 & h\\ -8 & k & -7\end{array}\right|$$
then what do $h$ and $k$ equal?
I know that for a system to have infinity many solutions then both of the rows must be equal.