Open the photo in photoshop (change the extension to .png, since it’s a PNG image that someone decided to rename as a .jpg, and that will confuse PhotoShop)
Use the wand tool to select the left most black image, hold shift and use it to select the middle and then the right image as well. All three should now be selected.
Make sure your colors selected are black/white by clicking the little black/white icon next to the colors on the bottom of the toolbar. Reverse the colors by clicking the arrow, so that it’s white/black.
Click the paintbbucket tool and fill each of the black shapes to be white instead of black.
Create a new layer
Click the Paths tab and create a new path. Then click the “new path from selection” button right to the left of the new path button.
Right click on the new work path, select “stroke path”, and choose either the pencil or the brush tool.
Save your new image.