If you’re using the generated form component, then after the handle_validate callback, those values should be accessible with @form[:x].value and @form[:y].value.
Also, depending on whether x and y have default values and what should be displayed when none or just one of the values have been set, there may need to be an :if on the .list component or :item slot.