Let's expand both options, your friend's and yours, as shown below

Then, both equations are the same besides a constant that will not affect the zeros of the functions, as shown below

And

Both your friend and you are correct. The functions are the same with exception of a constant that multiplies the whole function (a scale factor); despite that, the zeros are the same for both functions
