Broken Calculator

Sam's calculator got smashed, but some of it still works.
Can you help Sam get the answers?