Qualcomm interview question

Everything is just he basics,