Since the four roots form an arithmetic progression, let them be a minus 3d, a minus d, a plus d, and a plus 3d. The sum of the roots for the first equation is p plus q equals 2a, and using Vieta's formulas we have p plus q equals 2, so a equals 1. The sum of all four roots is p plus q plus r plus s equals 2 plus 18 equals 20, which also equals 4a, confirming a is 1. The product of the roots p and q is (1 minus 3d)(1 minus d) equals A, and the product of r and s is (1 plus d)(1 plus 3d) equals B. Adding these products yields A plus B equals (1 minus 3d)(1 minus d) plus (1 plus d)(1 plus 3d) equals 2 plus 6d^2 plus 6d^2 equals 74.