Extending pairs of metrics