Quant quiz algebra question