I am happy to walk you through, here are some links that show how I got there:
http://www.ebpml.org/blog15/2014/12/tla/
http://www.ebpml.org/blog15/2015/01/tla-the-die-hard-problem...
http://www.ebpml.org/blog15/2015/01/state-machines-and-compu...
http://www.ebpml.org/blog15/2015/04/star-based-component-mod...
http://www.ebpml.org/blog15/2015/06/sam-the-state-action-mod...