Let's denote the cost of a song as \(x\) and the cost of a movie as \(y\). Based on the information provided in the problem, we can formulate the following system of equations:
-
From the first gift card:
\[ 20x + 20y = 240 \] -
From the second gift card:
\[ 19x + 13y = 168 \]
Now we will simplify the first equation. We can divide everything by 20:
\[ x + y = 12 \quad \text{(Equation 1)} \]
Now we have the system of equations:
- \(x + y = 12\)
- \(19x + 13y = 168\)
Next, we will use the elimination method to solve for \(x\) and \(y\). We can express \(y\) in terms of \(x\) from Equation 1:
\[ y = 12 - x \]
Now, substitute \(y\) into the second equation:
\[ 19x + 13(12 - x) = 168 \]
Distributing \(13\):
\[ 19x + 156 - 13x = 168 \]
Combine like terms:
\[ (19x - 13x) + 156 = 168 \]
This simplifies to:
\[ 6x + 156 = 168 \]
Next, we isolate \(x\):
\[ 6x = 168 - 156 \] \[ 6x = 12 \] \[ x = 2 \]
Now we can find \(y\) using Equation 1:
\[ y = 12 - x = 12 - 2 = 10 \]
Thus, the cost of each download is:
- Downloads cost $2 for a song
- Downloads cost $10 for a movie
Final answer:
- Downloads cost $2 for a song and $10 for a movie.