Mathematical sentences is also known as expression.
A:4x can be written as 4 times x.
So, 4x is a mathematical sentence.
B. r+7=4 is an equation so it's not an expression.
Similarly x=1, 5g=9 and 8r=12 all are equations.
So, the correct answer is A: 4x and D. 34.