The sub panel is fed to the main panel via #6 wire ran out the back of the panel and connected to the 50amp breaker in the main panel.
Photo album created with Web Album Generator