For access to Textbook Solutions, a Class+ or Grade+ subscription is required.
The Given function is
As is the total probability,
Thus,