How do I make a ramp that curves

 

 

Hi  Imagine a block of land with a railway track cutting running through it running through it  like this 

 

Making that is easy but I want the cut to slope down to  at a constant gradient so that one end is level with the top of the block  and the other end at the base of the block all the time following a smooth slope . How could I do that ?

 

Regards 

Don