Making a purchase help


#1

Continuing the discussion from Need help 11 making a purchase:


#2

i did not understand here, how do we get value of APPLE HERE. PLEASE EXPLAIN.