f(x) = If[x < 1, (-x^(2)) + x + 2, (-x^(2)) + (5 * x) - 2]
a(x) = -6 ≤ x ≤ 5
piirto1: PolyLine[(1.1600E0,1.9800E0), (1.1350E0,2.0950E0), (1.0200E0,2.1200E0), (9.1000E-1,2.1100E0), (8.1000E-1,2.0300E0), (8.2000E-1,1.8900E0), (9.0000E-1,1.8400E0), (9.8000E-1,1.8400E0), (1.0900E0,1.8500E0), (1.2100E0,1.9300E0), (1.2400E0,2.0400E0), (1.2200E0,2.1000E0), (NaN,NaN), (2.6000E0,4.4000E0), (2.5200E0,4.4000E0), (2.4400E0,4.4000E0), (2.3300E0,4.3900E0), (2.2500E0,4.2900E0), (2.2400E0,4.1800E0), (2.2700E0,4.0800E0), (2.3600E0,4.0400E0), (2.4400E0,4.0400E0), (2.5500E0,4.0700E0), (2.6500E0,4.1500E0), (2.7000E0,4.2400E0), (2.6900E0,4.3500E0), (2.5900E0,4.4400E0), (2.5000E0,4.4800E0), (NaN,NaN), (5.0000E-1,2.4200E0), (3.5500E-1,2.3750E0), (3.2000E-1,2.2600E0), (3.4000E-1,2.1500E0), (4.5000E-1,2.0700E0), (5.9000E-1,2.1100E0), (6.7000E-1,2.2300E0), (7.0000E-1,2.3200E0), (6.8000E-1,2.4300E0), (6.0000E-1,2.4800E0), (4.8000E-1,2.4800E0), (3.6000E-1,2.4800E0), (NaN,NaN), (5.2200E0,-1.9600E0), (5.1600E0,-1.9200E0), (5.0200E0,-1.8700E0), (4.9000E0,-1.8600E0), (4.8100E0,-1.8900E0), (4.8000E0,-2.0400E0), (4.8100E0,-2.1900E0), (4.8700E0,-2.3100E0), (5.0800E0,-2.3400E0), (5.2400E0,-2.3100E0), (5.3000E0,-2.2200E0), (5.3000E0,-2.1400E0), (5.3000E0,-2.0600E0), (5.2600E0,-1.9500E0), (5.1700E0,-1.8400E0), (5.0600E0,-1.7800E0), (5.0000E0,-1.7600E0), (NaN,NaN), true]
piirto2: PolyLine[(-5.6400E0,-3.9780E1), (-5.7300E0,-3.9740E1), (-5.8500E0,-3.9680E1), (-5.9400E0,-3.9640E1), (-6.0200E0,-3.9640E1), (-6.1000E0,-3.9640E1), (-6.2100E0,-3.9680E1), (-6.3100E0,-3.9790E1), (-6.3200E0,-3.9900E1), (-6.3000E0,-4.0010E1), (-6.1900E0,-4.0130E1), (-6.0700E0,-4.0210E1), (-5.9800E0,-4.0240E1), (-5.8800E0,-4.0240E1), (-5.7700E0,-4.0220E1), (-5.7200E0,-4.0100E1), (-5.6800E0,-4.0020E1), (-5.6800E0,-3.9940E1), (-5.7000E0,-3.9820E1), (-5.8000E0,-3.9690E1), (-5.9100E0,-3.9590E1), (-6.0400E0,-3.9520E1), (-6.1200E0,-3.9500E1), (NaN,NaN), true]