Since ∠A and ∠B are vertical angles, they have equal measures, so m∠A = m∠B. We can set the two expressions equal to each other:
7x + 4 = 8x - 20
Solving for x:
-x = -24
x = 24
So, m∠A = 7x + 4 = 7 * 24 + 4 = 188, and m∠B = 8x - 20 = 8 * 24 - 20 = 188.
Therefore, the measure of ∠B is 188 degrees.