Starting with a flat image
Select the front object and remove from the background.
Not all decompositions will be this simple. Consider this.