A:AAB
B:AaBB
C:AaB
D:aa
815×14+815 =____
已知直线l1:ax+2y+1=0,直线l2:x﹣y+a=0.
(1)若直线l1⊥l2,求a的值及垂足P的坐标;
(2)若直线l1∥l2,求a的值及直线l1与l2的距离.