Solve for x in the top equation, 6x​+2 = 26​, by reducing the right side: 6x​+2 = 3. Subtract 2 from both sides, and multiply both sides by 6 to find that x = 6. Solve for y in the second equation, 3y​+2 = 39​ , by reducing the right side: 3y​+2 = 3. Subtract 2 from both sides, and multiply both sides by 3 to find that y = 3. If x = 6 and y = 3, Quantity A becomes 35​, and Quantity B becomes 62​ = 31​.