As given by the question
There are given that the equation of line A is:

Now,
From the given equation, the value of slope is:

Parallel lines have equal slope, thus

The above equation is the line B.
So,
To find the c, substitute the given point (-3, 1) into the partial equation of B
Then,

Then
Put the value of c into the above equation

So, the above equation is the equation of line B.
Hence, option D is correct.