Emma and Regina formulate a plan to trap the Evil Queen in a prison of their own making, while Snow and David adjust to life without each other.