Considering her super speed and super senses it would have been easy for her

By her power’s like senses and speed and can leave in space she found tony

Tony constantly sent radio signals all around the space ship

So captain marvel could have detected them with her suit