Let the number of jooghs be represented by x
Let the number of naxvip be represented by y
For Yoy, he paid 5 dollars per Jooghs and 4 dollars per naxvip
The total amount he paid would be given by
=> 5 x + 4 y
we are also informed that yoy's total cost is $45
So 5x + 4y = 45
=> 5x + 4y = 45 ------- equation 1
Similarly for Gespil, he paid 3 dollars per Jooghs and 9 dollars per naxvip
The total amount he paid would be given by
3x + 9y
Since his total cost is $93
3x + 9y = 93
3x + 9y = 93 --------- equation 2
The system of equations is given by
5x + 4y = 45
3x + 9y = 93
The solution to the system of the equation can be obtained as follow
Using the elimination method
5x + 4y = 45 x 3
3x + 9y = 93 x 5
15x + 12y = 135 ---- equation 3
15x + 45y = 465---- equation 4
equation 4 - equation 3
45y - 12y = 465 - 135
33y =330
y = 330/33
y= 10
substituting y = 10 into equation 3
15x + 12x 10 = 135
15x +120 = 135
15x = 135 - 120
15x =15
x = 1
The pair of numbers that solve the system is (1, 10)