continuous problem part 5 and 6

aka2016