The little square connector is for the solar panel. You should be able to find a mating connector at a car parts store if they handle trailer hookup stuff.
The roof connector has red and black wires which hang down into the space to the right of the right most kitchen cabinet. In the wiring mess that's in the space, there might be white and blue wires hanging down and not connected to anything. They lead back into the a space behind the battery compartment which you can get to through the little door opening under the sink in the head. The white one can be pushed into the battery compartment along with the ones Lance put in. It should go to the Neg (-) battery terminal and to the controller Neg (-). The blue one is for Pos (+) and you can attach it to the breaker which is also tucked in and behind the head sink. Assuming these wires are present, they will not connected to anything. Please, however, confirm that they do not have voltage on them and that they terminate in the kitchen cabinet.