トムは高校の2つ上の先輩です。

I’m okay with non-literal translations, but this is a bit much. I would translate this as: “Tom is two years my senior in high school.”