In exercise 3.2, to use the Twist message, include the geometry_msgs package in your CMakeLists.txt file. Here you can see how to do it:
(x) ament_target_dependencies(simple_publisher_node rclcpp std_msgs geometry_msgs)
(o) ament_target_dependencies(move_robot_node rclcpp std_msgs geometry_msgs)
Please correct this.