This question has options. How would someone go about accomplishing this goal?
To attach missing leads to a solar panel, you can

Select from the following. (a). Carefully duct tape the connections; (b). Carefully resolder the connections;
(b).