Solve using a weighted average like so:
{ (6 days)($34,000) + (4 days)($45,000) }/(6 days + 4 days) = $38,400
It doesn't appear as if the correct answer is listed in the choices? You can tell from the information given that the answer must be between $34,000 & $45,000!