IXL Learning interview question

Very convoluted method design questions