Let T°C be the final temperature of the titanium sample.
Refer to:
https://en.wikipedia.org/wiki/Heat_capacities_of_the_elements_(data_page)
Specific heat of titanium, c = 0.523 J/(g°C)
Heat gain of the titanium sample, E = 76.4 J
Mass of the titantium sample, m = 12.6 g
Temperature change of the titanium sample, ΔT = (36.1 - T)°C
E = m c ΔT
76.4 = 12.6 × 0.523 × (36.1 - T)
36.1 - T = 11.6
T = 24.5
The initial temperature of the titanium sample = 24.5°C