A bank runs a contest to encourage new customers to open accounts. In the contest, each contestant draws a slip representing a different reward—$5, $3, or $x—from a jar. At the beginning of the contest the jar contains 60 slips for $5, 40 slips for $3, and 50 slips for $x.
If the expected value of the first draw from the jar is $5.8, the value of x is__
At one point in the contest, the jar contains 3 slips for $5, 7 slips for $3, and y slips for $x. If the expected value on the next draw is $6, the value of y is __