Am I doing something wrong here?

First, I simplify this

is this setup correct?

When I set x=4, I get an A value of 25/19

This does not seem correct. My prof said we would ONLY get whole numbers for the example problems given.

What should I do differently?

Thank you!