Extended Desktop to Mac book from Macbook pro
It is likely not supported.

This article (apple.com) says how to use an iMac as a second display but makes no mention of using a MacBook(Pro) as one. Which usually means it is not supported.