Solve for j.

B=j+q/2

See:

http://www.jiskha.com/display.cgi?id=1253567140