WILL MARK BRAINLIEST!

Hannah and John made capital contributions of $50,000 each to their law firm. During the accounting period, John withdrew $5,000 and Hannah
withdrew $7,500. The total profit of the law firm for the given year was $17,500.

What was the total partner's equity at the end of the accounting period?
A. $50,000
B. $105,000
C. $55,000
D. $100,000
E. $5,000