This question is extremely poorly worded. Being "paid for each dog they walk" is not the same as their pay varying directly with the number of dogs they walk. Assuming that is what is meant, the question is asking if (16+4x)/12 = (16+x)(12-x), solve for x.