First, we find the equation of the function B:
The equation is of the form y = mx + b, where m is:

We have the points P1(0,2) and P2(4,0), so

And b is:

Therefore, the function B is:

Next, we solve the system of equations:

Substitute y:

Solve for x:

Then for y:

Answer:
x = 0
y = 2