The function h(T)=-9.8T^2+20T+1 describes the height of the rock at any given time T. So, to find the height of the rock at 2 seconds, we just need to plug in 2 for T and simplify.
h(T)= -9.8T^2+20T+1
h(2) = -9.8(2)^2+20(2)+1
h(2) = -39.2+40+1
h(2) = 0.8+1
h(2) = 1.8
So, the height of the rock at 2 seconds is 1.8 meters.