ーI have to get 45 out of 50 or better, otherwise I don't pass the test.
「50問中45問かそれ以上取らないと、テストに合格しない。」
get ◯ out of ◯ で「◯問中◯問正解する」
pass the test で「テストに合格する」
ーI have to get at least 45 out of 50 to pass the test.
「50問中最低45問正解しないとテストに合格しない。」
get at least ◯ out of ◯「◯問中最低◯問正解する」
ご参考まで!