Joshua and Justin shared $40. Joshua’s share was thrice as much as Justin’s. How much is Joshua's share?
The $40 is divided into 1 part for Justin + 3 parts for Joshua = 4 parts.
So each part is equal to $40/4 = $
<gadget id="calculator">40/4</gadget>
<output>10</output>
10.
Therefore, Joshua's share is $10 x 3 = $
<gadget id="calculator">10*3</gadget>
<output>30</output>
30.

<result>30</result>