Please share , Your Logic for solving INTERVAL feb17

Thank you…