Replumb the pipes under the right side bathroom with a new flange and remove the flexible wye connection.