Let X denote the amount  gained or lost by the person Show that X is a
random variable and exhibit it as a function on the sample space of the experiment Solution X is a number whose values are defined on the outcomes of a random
experiment Therefore, X is a random variable