The layer’s parameters:
Fill 0% on the layers.
Blending Options>Gradient Overlay
Gradient’s parameters: 

Make a copy of the last made layer and select the
Free Transform option to turn the copy over and change its shape too.

The layer’s parameters:
Fill 0% on the layers.
Blending Options>Gradient Overlay
Gradient’s parameters:
