How to create a state transition table for a Mealy machine
If your count sequence is 12345612...

Wouldn't your Moore Machine be:



And Mealy Machine be:



Moore Machine output is a function of Present State only.  Moore changes on clock cycle, synchronous.  

Mealy Machine output is a function of Input Rb and Present State.  Outputs can change if inputs change, asynchronous.