Binary to decimal conversion

Author's Instructions

Solve it step by step