What is the Formula of a XGBoost Model?

Hi,

I am new to XGBoost and gradient boosting. I have been reading about XGBoost and gradient boosting in some machine learning books and papers, but the references seem to only describe the training algorithms of XGBoost and gradient boosting, but do not describe the formula of the XGBoost or gradient boosting model. So, I am not sure how XGBoost and gradient boosting predict a new instance.

What is the formula of XGBoost model or gradient boosting model? Are there any references which describe the formula of the model?

Thanks
David