A. 3x represents the total number of apples used in each pie.
This is because you don't know how many apples are being used for either recipe except that 3 times the number of apples in the cakes are used in the pies.
3 pies multiplied by x the unknown number of apples used in the cakes.