Finding the rule for the pattern

This task is about writing rules for spatial patterns.
a)
 
Shape 1 Shape 2 Shape 3 Shape 4
 

 
The number of dots in each shape follows the pattern: 4, 8, 12, 16, . . .
 

Complete this equation to describe the number of dots in this pattern:
 

dn = __________________
dn is the number of dots in shape n,
n is the shape number.
 
 
b)
 
Shape 1 Shape 2 Shape 3 Shape 4
 

 
The number of straight lines in each shape follows the pattern: 4, 7, 10, 13, . . .
 
Complete this equation to describe the number of straight lines in this pattern:
 

ln = __________________
ln is the number of straight lines in shape n,
n is the shape number.
 
 
c)
 
Shape 1 Shape 2 Shape 3 Shape 4
 

 
The number of crosses in each shape follows the pattern: 4, 6, 8, 10, . . .
 

Complete this equation to describe the number of crosses in the pattern:
 

sn = __________________ 

sn is the number of crosses in shape n,
n is the shape number.