Gokyo Shumyo, Section 4, Problem 11
Addendum:
This problem appears in the book 《仙机武库》 (Xianji Wu Ku) under the name 二人同心 (Two persons same mind). See Leather Scroll Problem 51. Xuanxuan Qijing Problem 157 is also nearly identical (missing the marked stones).