Solve for m k=2mn+2ml