.
Since 5 slices of pizza and 5 soft drinks cost $22.40, it implies that
1 slice of pizza and 1 soft drink cost $22.40/5 = $4.48.
Now you can easily answer the problem's question by subtracting 7 times $4.48 from $34.49. It gives you
one slice of pizza costs $34.49 - 7* $4.48 = $3.13. ANSWER
-------------
Notice that I answered the question without solving equations.
This problem was designed and is expected to be solved exactly in this way - it is a "good style" of solving such problems.
It is the major lesson for you to learn from my solution.
To see other similar problems, solved in similar way, look into the lesson
- Solving mentally word problems on two equations in two unknowns
in this site.
Also, you have this free of charge online textbook in ALGEBRA-I in this site
- ALGEBRA-I - YOUR ONLINE TEXTBOOK.
The referred lesson is the part of this online textbook under the topic "Systems of two linear equations in two unknowns".
Save the link to this online textbook together with its description
Free of charge online textbook in ALGEBRA-I
https://www.algebra.com/algebra/homework/quadratic/lessons/ALGEBRA-I-YOUR-ONLINE-TEXTBOOK.lesson
to your archive and use it when it is needed.