Solution as per the book for historical interest only. In fact, both moves are wrong:
See carpenter's square for details.