[Solution from source] Both the thorn of Bougainvillea and the tendril of Cucurbita are modified axillary branches (stem origin) that now do different jobs, which makes them homologous, the NCERT example of divergent evolution. Analogous organs would share function but differ in origin. Answer (3).