I'm trying to work out the two possible values for B when A, a and b are all known. I'm certain its possible but I'm not sure how to start or what theories to look for to solve the question as my math is severely lacking. Any pointers on how to solve this problem or even just what to look for in order to do so would be greatly appreciated.

Note: Apologies for the vagueness, I'm a long time stack exchange user so I understand this question may have already been answered but I currently lack the terminology to try and search for the answers. If after understanding the solution better I find other answers on the site I will gladly remove this one.