XP or experience points measure your achievement in completing Microsoft Learn content. You can view the amount of awarded XP next to the title of each learning path, module, and unit.
I'd suggest asking for more help in learn forums over here.
https://trainingsupport.microsoft.com/en-us/tcml/forum
reputation points in QnA are detailed here.
https://learn.microsoft.com/answers/articles/374/reputation-points.html
(please don't forget to mark helpful replies as answer)