J.R. S. answered 04/23/19
Ph.D. University Professor with 10+ years Tutoring Experience
You did use the correct equation of q = mC∆T. Now let's check the math.
106.47 J = (58.15 g)(C)(5.81 deg)
C = 106.47 J/337.8515 g-deg
C = 0.31514 J/g/deg = 0.3151 J/g/deg (to 4 significant figurers)
So, I see nothing wrong with your answer other than omission of proper units of J/g/deg or Jg-1deg-1, etc.