The ending equity is $315,000
This is just a matter of adding income and subtracting withdraws. So let's do it.
"Cragmont has beginning equity of $277,000,"
x = $277000
"net income of $63,000"
x = $277000 + $63000 = $340000
"withdrawals of $25,000"
x = $340000 - $25000 = $315000