When Ehsan was preparing to make a tape from some of his favourite songs, he notices that the Hadi's song was 1 minute longer than Bonna's song and Niaj's song was 1 minute less than twice as long as Bonna's song. If the total time for these three songs is 12 minutes, how long is Niaj's song?