Uriah, both exercises are not correct.
Both exercises have wrong values for x.
Check them again and come back to us.
9.5m questions
12.2m answers