Here's one place to start:
1 Mathematics
+ --------- Add
- --------- Subtract
* --------- Multiply
/ --------- Divide
rem ------- Remainder of integer division
1+ -------- Increment by one
1- -------- Decrement by one
abs ------- Absolute
fix ------- Truncates a real to an integer
float ----- Converts an integer to a real
gcd ------- Greatest common denominator
min ------- Smallest (least) of group
max ------- Largest (greatest) of group
sqrt ------ Square root
expt ------ Exponent
exp ------- Power of e
log ------- Natural log
cvunit ---- Converts a value from one unit to another
2 Geometry & trigonometry
distance -- Returns distance between two points
angle ----- Returns angle between two points
polar ----- Returns a point at a given distance and angle from a base point
inters ---- Returns point at which two lines intersect
sin ------- Sine
cos ------- Cosine
atan ------ Arctangent
3 Setting variables
setq ------ Assigns a value to a variable (variable automatically quoted)
set ------- Assigns a value to a variable (must quote the variable)
also see setvar under "14 - Working with AutoCAD"
4 User input
initget --- Controls input allowed in next user input function
getint ---- Allows user to enter an integer
getreal --- Allows user to enter a real
getpoint -- Allows user to pick a point (rubber-band is a line)
osnap ----- Returns a point snapped to some feature of existing geometry
getcorner - Allows user to pick a point (rubber-band is a rectangle)
getdist --- Allows user to pick a distance
Then do a search here for getdist and see what others have done.
Then make an effort to cobble something minimal together and people here will gladly help you with any questions you might have. You'll be creating lots of small functions to help ease other tasks before you know it.
Also, take a look on youtube for how to use the Autocad macro recorder. It may be all you need.