The books are $5, and the magazines are $10. I’m not sure which way you want it explained but since magazines are twice the price of books, you can solve the equation 3b + 2b = 25. This gives you b=5 which you just multiply by 2 giving you the price of a magazine.
Your answer is a equation!