In this case, we'll have to carry out several steps to find the solution.
Step 01:
Data:
regular price = $50
discount = 40% = 0.4
Step 02:
amount discounted:
amount discounted = regular price * discount
amount discounted = $50 * 0.4 = $20
The answer is:
$20