Master to slave, slave to I2C peripheral

If they're all on the same I2C bus then eliminate the slave and let the master collect the data directly.