answer my question and i will mark you as brainliest

Answer:
40
Step-by-step explanation:
Refer the attached photo of solved answer with explanation.