First of all the y intercepts are numbers without the x by it so you can answer that by yourself. And the gradients is the number right by the x. Now to match the lines look at the numbers without x n go to the y line and and go to each line and see if any of the numbers match the number without the x
Hope this makes sense