Setting Up Multi-City Course Registration Forms with Gravity Forms

Hello everyone, pardon my English, but I’m seeking some help with Gravity Forms.

I am trying to create a form system for course registrations using Gravity Forms, but the course is available for some cities, and with different classes. Here are the specifications:

1 - I created a Post Type to insert the Courses.
2 - I created a Post Type to insert classes (school groups) and created a metafield for the number to define the number of available spots.
3 - I created a taxonomy with the names of the cities that will have these courses.

In this way, I would like a person entering the form to be able to choose the course, then see the options of cities offering that course, and upon choosing a city, the classes available in that city should appear.

Is it possible?