Input (grade 6): The third act is dominated by the puppet show, a play within the play.
Output (grade 3): The third act is the puppet play and is a play within a play.