In this case, there are two displacements: Dx and Dy
Dy = 2.35 m
Dx = 9.57 m
Vx = 7.95 m/s
Now, Dx = Vxt => t= Dx/Vx = 9.57/7.95 = 1.204 seconds
Then,
Dy = Vit+1/2gt^2 => g = (Dy-Viyt)*2/t^2 = (2.35-0)*2/1.204^2 = 3.242 m/s^2
Therefore,
Gravitational acceleration = 3.242 m/s^2