The location of "respectively"
Solution 1:
The meaning with your sentence is : upper(A) and upper(B) are upper bounds of A when 34 and 35 are satisfied and upper(A) and upper(B) are upper bounds of B when 39 is satisfied
IMO, it should be
where upper(A) and upper(B) are the upper bounds of A and B, respectively, when (34), (35), and (39) are satisfied.