“Not X but Y” is an idiom, with a contrast between X and Y. So in this case, we can ignore “not”.
Also, this might be helpful - Do Not agree with Greg's solution
“Not X but Y” is an idiom, with a contrast between X and Y. So in this case, we can ignore “not”.
Also, this might be helpful - Do Not agree with Greg's solution