Calling a Method from another Module's Class
If you want to instantiate a class implementing ContainerInjectionInterface you have to use the Drupal class resolver:
$example = \Drupal::classResolver(Example::class);
$x = $example-&gt;request();

The preferred way though is to use a service class instead and inject other services directly as container arguments, as @Kevin commented.