頑張りました。
主語は自分の事ですか?一応「I」にしましたが、そのポイントで日本語がわかりにくいですね!
回答したアンカーのサイト
Machigai Podcast
学力テスト academic test
校内 in the school
1位でした I got first place
でも but
2位 second place
ほとんど差がなく there wasn't much between/there wasn't much difference
1点差でした one point different
参考になれば幸いです。