Two firms X and Y are able to borrow funds as follows:
X: Fixed-rate funding at 4% and floating rate at Libor-1%
Y: Fixed-rate funding at 6% and floating rate at Libor+1%
Show how these two firms can both obtain cheaper financing using a swap.
What swap would you suggest to the two firms if you were an unbiased advisor?