Describe how to determine the ideal machanical advantage of each type of simple machine

How are the lever and the wheel and axle related?