(DETROIT) — Tesla will buy the solar panel maker SolarCity Corp. in an all-stock deal worth around $2.6 billion. The deal must still be approved by the government and shareholders at both companies. It’s expected to close in the fourth quarter if it goes through. Tesla, a 13-year-old maker of electric cars and energy storage systems, said Monday that the tie-up would create a one-stop shop for cleaner energy.