Number the four heavy atoms and write the /c layer. An unbranched chain needs nothing but dashes — the only question is where the numbering starts.
A basics exercise. What you write is compared with what the InChI engine generates for the same structure, with 3 hints if you want them.
Convert a structure to its InChI and InChIKey and back, convert a whole CSV, XLSX or SDF file, learn how the identifier is derived, and practise writing its layers. The InChI engine is WebAssembly running in your browser, so the tool needs JavaScript — and nothing you open ever leaves your machine.