Give the step-by-step reasoning process and then the final answer. Joshua and Justin shared $40. Joshua’s share was thrice as much as Justin’s. How much is Joshua's share?
User
The $40 is divided into 1 part for Justin + 3 parts for Joshua = 4 parts. So each part is equal to $40 / 4 = $10. Therefore, Joshua's share is $10 x 3 = $30.
The final answer: 30.
Assistant