Answer:
The correct answer is: a credit to John's capital for $45,800
Maybe the question wasn't copied correctly, since the numbers don't match.
Equity should be credited, and since John replaced Bobbi, Bobbi's equity was transferred to John.
I believe the complete journal record should have been: