Bloomberg interview question

how do you calculate beta