because if there's two friends and seven cookies one friend we get three and the other one will get three and they could split the other cookie in half so that each Friend can have three cookies and a half if they split
Multiply top so y values cancel out, so multiple top by -3. Y values cancel out. You combine top and bottom equations, x=2. Plug 2 in first equation for x. Y=4