simple approach:

1) just draw truth table for 3 variables(0 to 7)

2) now set function value acoording to given kmap

3) minimize function now using kmap

1) just draw truth table for 3 variables(0 to 7)

2) now set function value acoording to given kmap

3) minimize function now using kmap