Write an equation for each of the following phrases or word problems. Solve for the missing variable.

Two times a number is 16.

Two plus a number is 28.

Three is a number divided by 6.

Samuel is y years old. In 10 years, he will be 27. How old is Samuel?

A third of a pizza is 400 calories. How many calories in the whole pizza?

Sanjai had $175 in his bank account before he got paid this week. His current balance is $287. How much did he get paid?