function X = prusecik(P, p, Q, q)
%X = prusecik(P, p, Q, q)
%nalezne prusecik primek P+t*p a Q+s*q
 x=linsolve([p -q], Q-P);
 X=P+x(1)*p;
end