$40,340.57