solve k*(2a)+d=2a-b, k*(a-2b)+d=4a+3b for k and d