On his birthday, Robert received 79 chocolates. He ate six of them before giving three to her sister, and after sharing two chocolates to each of his 27 friends, he was left with x number of chocolates.
Derive an algebraic expression for x from the above comprehension