Blender merge vertex to edge and remove additional edge
It looks like you should create 3 loop cuts (CTRL + R), as marked by green lines, in order to fix your topology and make it easy to connect A with B.