y = -906.24A + 8685 when B is 2

y = -1059.2B + 7513.2 when A is 3

I can also get equations for:

y=...A + ... when B= 1

y=...A + ... when B= 3

y=...B + ... when A=0

y=...B + ... when A=6

(Not calculated yet)

Is it possible to develop a relationship to find what y is when for example A=4 and B=6?