Doubt by Adamay

In the example solved by Ankur sir 

how did he find that 3 is the adjacent side to the angle 

whereas 4 is the opposite side to the angle.