You would use the order of operations (PEMDAS) in which fist you would derive both tan(40) and cos(50)
Tan(40) = 0.83909963117
Cos(50) = 0.64278760968
Followed by the approximate division of the two outside of the use of a calculator which equates to roughly:
1.30540728933