Problem with a remove

sorry I am a beginner, is this correct because it still does not work