A Recipe for Constructing Solar Systems