Josie had 1/6 of an apple pie. She gave 3/5 of what she had to her friend Brian. What fraction of the whole pie did Brian get?