You can go from:

to

by making the following sequence of moves: