Can someone please help me with this?
Thanks
So we have two linear equations (equations of the y = mx + c), and we're told that we have infinite solutions. Lets say we had the equations

and

A solution to a linear system are whatever values of 'x' we need to satisfy the equations. What does it mean for two linear equations to have infinite solutions?
If they had a unique solution, then they would intersect once. If they had no solutions, they'd intersect never. But for infinite solutions, that means for every x, the two lines intersect. So

for all x, or in other words: they are actually the same line.
If they're the same line, then they have the same gradient, and the same y-intercept. So one way of solving this is to find the gradients, and y-intercepts of both equations and equate them together. To find your values, solve for n. Once you've done that, don't forget to double check the values you get to make sure that they actually will give you infinite solutions - you might often end up having to reject one of the values you get.
There's other methods of doing these type of questions too, e.g. using matrices