A slingshot fires a pebble from the top of a building at a speed of 14.0 m/s. The building is 31.0 m tall. Ignoring air resistance, find the speed with which the pebble strikes the ground when the pebble is fired
a) horizontally,
b) vertically straight up, and
c) vertically straight down.