i finally got this question!

when u toss a coin you have a 50/50 chance of getting a head or tail and if you get head you roll a die to get either 1, 2, 3, 4, 5, 6, BUT if you get a tail you simply get $2

COIN-->(0.5 chance) Head--> 1, 2, 3, 4, 5, 6 --> $1, $2, $3, $4, $5, $6

~ 1/6 = 0.166 chance of getting either 1, 2, 3, 4, 5, 6,

-->(0.5 chance) Tail--> $2

so for X = $1, you get 0.166 x 0.5 chance of getting a head = 0.08333

for X = 3, 4, 5, 6 it is the same 0.166 x 0.5 to get = 0.08333

but for X = $2 you have (0.166x0.5) + 0.5 from tail = 0.5833