I have made these calculations thanks to the formulas that we have learned in class:
D=10*(m-M+5/5) where M it's the absolute magnitude and m apparent magnitude. M=-3.882 and m=2.942
D=10*(2.942-(-3.882)+5/5)
D=10*(1478/625)
D=231pc
I have found that the distance it's approximately of 160pc this time I have been really far. Probably it's because I have rounded out the numbers.