please help i dont understand how I write this

please help i dont understand how I write this class=