Episode 58 is a double on Space Academy and Jason Of Star Command!!!
Space Academy (1977)
The adventures of the young space cadets of Space Academy in the year 3732.
Commander "Doctor Smith" Gampu is the leader of the academy.
Jason Of Star command (1978)
Jason was an officer of Star Command, which was located on the same asteroid as Space Academy.
Both have groundbreaking special effects and Sci Fi veterans in Jonathan Harris (Lost in Space ) and James Doohan (Star Trek) , what more could you want.