help with riccati equation

dy/dx = A(x)y2 + B(x)y + C(x) is called a riccati equation. Suppose that one particular solution y1(x) of this equation is known. Show that the substitution

Y= y1 + 1/v transforms the riccati equation into the linear equation:

Dv/dx + (B(x) +2A(x)y1)v = -A(x)

I understand what you need to do. I know that I need to plug in the substitution for y, but I don’t understand how is simplifies. I don’t know how to do intermediate steps, only the first and last. Can anyone help…???