Step-by-step explanation:
Let the equation is
............ (1)
Putting the values of point A in equation (1) as follows.

........... (2)
Putting the values of point B in equation (1) as follows.

................ (3)
Now, divide the equation (2) by equation (3) as follows.

Cancelling out with common factors, the equation will be written as follows.
4 = 
4 = 
4 = 
or, 
Taking square root on both the side, we get
b = ± 
Case 1. Place the value of b = +
in equation (3) as follows.
a = 16
Case 2. Place the value of b = -
in equation (3) as follows.
8 =
a = - 16