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