The straight line method of depreciation formular is:
cost of asset − scrap value estimated useful year \; \frac{ \; \text{cost of asset} \; - \; \text{scrap value} \; }{ \; \text{estimated useful year} \; }estimated useful yearcost of asset−scrap value