doc/tutorial/basics: add basics tutorial

Change-Id: I350244d6db5e20be4ab3913dc864f61923b2738f
diff --git a/doc/tutorial/basics/imports.md b/doc/tutorial/basics/imports.md
new file mode 100644
index 0000000..a05dce3
--- /dev/null
+++ b/doc/tutorial/basics/imports.md
@@ -0,0 +1,34 @@
+[TOC](Readme.md) [Prev](packages.md) [Next](operators.md)
+
+# Imports
+
+A CUE file may import definitions from builtin or user-defined packages.
+The CUE file itself does not need to be part of a package to use imports.
+
+The example here shows the use of builtin packages.
+
+This code groups the imports into a parenthesized, "factored" import statement.
+
+You can also write multiple import statements, like:
+
+```
+import "encoding/json"
+import "math"
+```
+
+But it is good style to use the factored import statement.
+
+<!-- CUE editor -->
+```
+import (
+	"encoding/json"
+	"math"
+)
+
+data: json.Marshal({ a: math.Sqrt(7) })
+```
+
+<!-- result -->
+```
+data: "{\"a\":2.6457513110645907}"
+```
\ No newline at end of file