Agnisys interview question

Make regression program with given data?