Ipsec and multiple subnets

Hi,

I have Site1 with LAN network 192.168.0.0/24 and a ipsectunnel to Site X, an external party with ipadress 172.16.0.0/24
And a Site2 with LAN network 192.168.60.0. Here is a device Q that needs to be able to access Site X, via Site1.

I know how to setup a ipsec tunnel between Site1 and Site2, but how do I make Q be sending data to Site X ?

You set up the routes as described here:
https://docs.netgate.com/pfsense/en/latest/recipes/ipsec-s2s-route-internet-traffic.html