This path means:
/Applications/MAMP/app
..
is the directory above. So he enters htdocs, enters the parentdirectory (which is MAMP) and then the directory app.
And for the knowledge: Should you ever see .
, this means current directory. For example:
C:/Users/Admin/.
means exactly:
C:/Users/Admin/.
..
would mean:
C:/Users/