A substitution should work here
Let the vitamin C in a one cup serving of Pineapple Juice = x
According the information given, the vitamin C in a one cup serving of Orange Juice = 4x - 2
Servings of the two juices indicate that together a cup of Pineapple Juice and a cup of Orange Juice contain a total of 123 mgs of vitamin C.
So
x + 4x - 2 = 123
Combining like terms, and solving for x should give the information needed.
5x = 125
x = 25
4x - 2 = 100 - 2 = 98
A one cup serving of Pineapple Juice contains 25 mg of vitamin C
A one cup serving of Orange Juice contains 98 mg of vitamin C
I hope you find this useful and if you have any questions you can send me a message.