During a game of​ one-on-one, Rodney and Justin scored 39 points altogether. If Justin lost the game by 1 ​point, how many points did each player​ score? Use a system of linear equations in two variables to solve the problem