The correct answer is D.
This is because it's saying you do not like to write stories- because "no me gusta" means "I don't like" and "escribir cuentos" is "to write stories".
I know it's not B or C (ruling out A because it's saying "I like") because B is talking about escuela, or school, and C is talking about a bicicleta, or a bicycle.
Hope this helps you!