It is a very simple question to answer.
Obviously first we can calculate the number of hours that he over timed. So 6 hours he worked over time. So an equation to set this up equals to 32*x + 6*1.3x = 513.42.
The answer comes out to be 39.8x = 513.42. x = 12.9$ per hour.