Please help with relativistic speed composition!!!!

Two spaceships A and B are travelling from one space station to another one, for a total distance of 48 light-minutes. Spaceship A travels 80 min in the space stations' reference frame. Clocks on spaceship A indicate that spaceship B took 12 minutes longer. Calculate the speed of spaceship A in the reference frame of spaceship B.