Respuesta :

Let the number of apple pies x

Let the number of blue pies y

Since they sold 38 pies on Saturday, then

Add x and y, then equate the sum by 38

[tex]x+y=38\rightarrow(1)[/tex]

Since they sold each apple pie for $11 and each blueberry pie for $13

Since they collected $460 on Saturday, then

Multiply x by 11 and y by 13, then add the products and equate the sum by 460

[tex]11x+13y=460\rightarrow(2)[/tex]

Now, we have a system of equations to solve it

Multiply equation (1) by -13 to equate the coefficients of y in values and opposite them in signs to eliminate them

[tex]\begin{gathered} (-13)(x)+(-13)(y)=(-13)(38) \\ -13x-13y=-494\rightarrow(3) \end{gathered}[/tex]

Add equations (2) and (3)

[tex]\begin{gathered} (11x-13x)+(13y-13y)=(460-494) \\ -2x+0=-34 \\ -2x=-34 \end{gathered}[/tex]

Divide both sides by -2

[tex]\begin{gathered} \frac{-2x}{-2}=\frac{-34}{-2} \\ x=17 \end{gathered}[/tex]

Substitute the value of x in equation (1) to find y

[tex]17+y=38[/tex]

Subtract 17 from both sides

[tex]\begin{gathered} 17-17+y=38-17 \\ y=21 \end{gathered}[/tex]

The y sold 17 apple pies and 21 blueberry pies

The answer is the last choice