IF WE HAD HAD TIME, WE WOULD/COULD HAVE VISITED THE MUSEUM.

9. If we had had time, we would/could have visited the museum.