It's weird to see Real Madrid so low in the UCL table, it's clearly not their best season, but they still have 3 games left to play, which are:
Atalanta (away)
Salzburg (home)
Brest (away)
Salzburg should be an easy 3 points. Atalanta is really strong this season, currently 2nd in Serie A and 5th in the UCL, it will be hard to earn any points on them. Brest is struggling in Ligue 1 with only 4 wins and 7 losses, they are doing OK in the UCL but that's due to the 3 wins over a relatively weak team, I think Real should be able to win.
I expect Real to finish the league stage with at least 12 points, which would put them in the play-offs.