求教高中英语复合句
1.TheforeignvisitorstookalotofpictureswhentheywereattheGreatWall.
whentheywereattheGreatWall是什么从句?
2.Thefarmerisshowingtheboyhowtoplantatree.这是简单句吗?