The velocity of the rock will be

Why?
Please note that the sign of the result, will depend on where we assume the origin, for this problem, I'll assume that the origin is located at the ground, so the velocity will be negative.
To calculate the speed of the rock, we need to use the following formula:

Hence, we have that the velocity of the rock will be

Have a nice day!