What is the relational algebra for these 2 SQL statements?

```sql
SELECT EMP.*
     , DEPT.DEPTNAME
     , DEPT.BUILDING
     , MANAGER.NAME DEPT_MANAGER
  FROM DEPT DEPARTMENT
     , EMPLOYEES EMP
     , EMPLOYEES MANAGER
 WHERE DEPT.DEPTMANAGERID = MANAGER.EMPID
   AND EMP.DEPTNO = DEPT.DEPTNO;

SELECT rep.repname SalesRep
     , prod.productno ProdID
     , prod.productname Name
     , prod.productdesc ProdDesc
     , prod.units Unit
     , prod.productprice Price
     , paint.*
     , chem.*
     , feed.*
     , sup.repname Supervisor
  FROM products prod
     , salesreps rep
     , salesreps sup
     , paintproducts paint
     , chemicalproducts chem
     , animalfeedproducts feed
 WHERE rep.salesrepid = prod.productsalesrepid
   AND rep.supervisor = sup.salesrepid (+)
   AND prod.productno = paint.productno (+)
   AND prod.productno = chem.productno (+)
   AND prod.productno = feed.productno (+);

```

I tried this this for the first one:

```none
  π emp.*, dept.deptname, dept.building, manager.name
    (Department ⋈ deptmanagerid = empid Employees)
× (Employee ⋈ Emp.Deptno = Dept.DeptNo Department) 

```