Set g(x) as y. Then you get y = 2x^3 + 3. Switch Y with X and you get x = 2y^3 + 3. Now you can put everything with x getting, y = cuberoot[(x-3)/2]
Step-by-step explanation:
Total cards that deck contains= 5+4+2+1=12 ( as mentioned in question)
So,
1. Probability of getting blue card is 1/12
2. Probability of getting a red card is 2/12=1/6
hope it helps