Minimum sum of product of two arrays - GeeksforGeeks

I think geeksforgeeks editorial is wrong. Can anyone help me to solve this questions?