Buyout results in negative ending partner capital

I bought out my partner shares in a LLC partnership. I paid him $90,000, while his ending capital was only $60,000.

This results in a negative ending capital of $30,000 on K1 line L.

How do I zero his ending capital account?

Where would my partner enter his profit of $30,000?

Thanks