The evolution of the universe in a modified gravity theory that includes the terms Ricci scalar () and the GaussāBonnet invariant () is studied. The function is obtained using the eāfolding number and reconstruction technique by assuming an appropriate parameterization of the scale factor . In this model, the various cosmological parameters are analyzed to explicate the bouncing scenario of the universe with the help of the contraction and expansion phases of the universe before and after the bouncing point of the model, respectively. A violation of the null energy condition is found. Additionally, the ghost condensate nature of the model in the neighborhood of the bouncing point () is seen. Furthermore, the deceleration parameter is not defined at the bouncing point, i.e., at and approaches a finite value in later times (). Finally, the evolution of the Hawking temperature and the validity of the second law of thermodynamics in the bouncing scenario of our model areĀ discussed.