What you have posted is the correct approach to solving the problem, although it's missing some steps. First, I would say, calculate the initial amounts of tris base and tris acid using the Henderson-Hasselbalch equation. Next account for the reaction of tris base with the acid, then use the new numbers of [acid] and [base] to recalculate the pH.