You can
put this solution on YOUR website! .
Wikipedia
https://en.wikipedia.org/wiki/South_African_rand
The rand (sign: R; code: ZAR) is the currency of South Africa. The Rand is subdivided into 100 cents (sign: "c").
I read this post in this way:
. . . bought 3 magazines at x cent each. he gave the cashier R12.00 and received 315c change.what did each magazine cost?
Notice my "dot" replacing your "comma" in the value.
Each magazine costs x =
= 295 c = R 2.95.