Answer:
a) 
b) ![W = 2 [1- tanh^2 (x+c)] = 2 sech^2 (x+c)](https://tex.z-dn.net/?f=%20W%20%3D%202%20%5B1-%20tanh%5E2%20%28x%2Bc%29%5D%20%3D%202%20sech%5E2%20%28x%2Bc%29)
Step-by-step explanation:
Part a
For this case we have the following differential equation:

If we square both sides we got:

And we have two possible solutions for this system 
So then that represent the constant solutions for the differential equation.
So then the solution for this case is :

Part b: Solve the differential equation in part (a)
For this case we can rewrite the differential equation like this:

And reordering we have this:

Integrating both sides we got:

Using CAS for the left part we got:

We can multiply both sides by -1 we got:

And we can apply tanh in both sides and we got:

By properties of tanh we can rewrite the last expression like this:

We can square both sides and we got:


And solving for W we got:
![W = 2 [1- tanh^2 (x+c)] = 2 sech^2 (x+c)](https://tex.z-dn.net/?f=%20W%20%3D%202%20%5B1-%20tanh%5E2%20%28x%2Bc%29%5D%20%3D%202%20sech%5E2%20%28x%2Bc%29)
And that would be our solution for the differential equation