Profit or loss in a partnership is usually arrived at after deducting from gross profit…