(Sandstone Gate isn't a spell.)
Sandstone Gate enters the battlefield tapped unless you pay 2 life.
: Target player exiles a card from his or her graveyard.
: Add
or
to your mana pool.
: Add
to your mana pool. Put Sandstone Gate on top of your library.