The disassembly reactor has to go first and split up the methane in to useful parts. These parts go in to both outputs.
You can use drive-by unbonding to strip the hydrogen from the methane.
You can build the hydrogen with a bonded extractor, and the same sort of idea can be used for the ethane.
This demonstrates how to build the ethane out of hydrogen-stripped methane.