Given the equation y=-2x+1 and given another equation y=mx+b in order for us to have no solution we must guarantee that both lines do not intersect. Recall that m is the slope of the second equation and b the y-intercept. To guarantee that both lines don't intersect, they must be parallel. To have this result, we must have that they have the same slope but different y intercept. That is take m = -2 and b any value different to +1. For example, the b = 6. So
y = -2x+6 = -2(x-3) is another equation that gives no solution to the system.