logic fix in task 1
(f1/f1' replaced with f1'/f1)