Extensions of Two Single-Machine Scheduling Problems with an Aging Effect