How would someone go about accomplishing this goal?
To attach missing leads to a solar panel, you can
Carefully resolder the connections