Nicole did a aerobics class and yoga class for total of one hour and 10 minutes the yoga class was30 minutes longer than the aerobics class how long is each class