PLEASE HELP ME REMOVE THIS

Please help me out here,I messed up and now I gotta remove the piece in the first pic to remove the piece on the second pic