The midpoint of the line segment joining (A,3) and (4,B) is (3,5). What are the values of A and B?
If P(-1,1) is the midpoint of the line segment joining A(-3,b) and B(1, b+4) then b=?
(a) 1 (b) -1 (c) 2 (d) 0