Architecture of TOI-561 planetary system